//WholeLEDSequence
#include <avr/io.h>
#include <util/delay.h>
//char const num[] = {1, 2, 4, 8, 16, 32, 64, 128,};
char const num[] = {3, 6, 12, 24, 48, 96, 192};

int main (void)

{
	DDRB = 0xFF;
	unsigned int i;
	unsigned char j;
	while (1) 
	{	
		for (j = 0 ; j < 6; j = j+1) 
		{ 
			PORTB = num[j];
			for (i = 0; i < 100; i = i+1)
			{
			_delay_loop_2(500);
			}
		}
	}
}

